home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / NETWORKI / 1938.ZIP / INSTSO.BAT < prev    next >
DOS Batch File  |  1991-08-14  |  3KB  |  95 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons.  For instance, drive C
  5. echo is designated as "C:", not "C".  Make absolutely sure that you have desig-
  6. echo nated your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. %2
  13. cd\
  14. md MANAGEX
  15. cd\MANAGEX
  16. echo Copying files...
  17. if exist upgrd.exe erase upgrd.exe
  18. copy %1sgno.exe
  19. if exist %1upgrd.exe copy %1upgrd.exe
  20. :SKIPMISC
  21. if exist upgrade.exe erase upgrade.exe
  22. if exist signout.hlp erase signout.hlp
  23. if exist signout.exe erase signout.exe
  24. if exist signout.ovr erase signout.ovr
  25. if exist signout.doc erase signout.doc
  26. cls
  27. echo                              VERY IMPORTANT
  28. echo .
  29. echo .
  30. echo Now, some program files will be extracted from an archive.  Before each
  31. echo file is extracted, a check will be made to see whether a similarly named
  32. echo one already exists on your hard disk.  If so, you'll be asked whether you
  33. echo wish to overwrite it with a new copy.
  34. echo .
  35. echo                ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
  36. echo .
  37. echo .
  38. echo .
  39. pause
  40. :EXTRACT
  41. sgno
  42. erase sgno.exe
  43. upgrade %2
  44. erase upgr.*
  45. cls
  46. echo The instructions must be printed.
  47. echo .
  48. echo .
  49. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to
  50. echo print and that you have loaded at least 20 sheets of paper.  Then, align
  51. echo the print head 1/2" below the top of the first sheet.
  52. echo .
  53. pause
  54. cls
  55. echo Printing documentation...
  56. type SIGNOUT.DOC >prn
  57. :SKIPPRINT
  58. cls
  59. echo .
  60. echo SignOut is now installed on your hard disk in the MANAGEX directory.  To
  61. echo access the program, do the following:
  62. echo .  
  63. echo     1) enter "%2" at the prompt (this logs you onto drive %2);
  64. echo     2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
  65. echo     3) enter "SO" at the prompt;
  66. echo     4) BUT READ THE DOCUMENTATION FIRST!  SIGNOUT MUST BE SET UP FOR USE
  67. echo        ON YOUR PARTICULAR NETWORK!
  68. echo .
  69. echo .
  70. pause
  71. echo off
  72. cls
  73. echo .
  74. echo                      IF YOU'RE A REGISTERED USER...
  75. echo .
  76. echo      The upgrade you have just gone through has resulted in a personalized
  77. echo copy of SIGNOUT.
  78. echo .
  79. echo    Feel free to distribute copies of this diskette, but DON'T tell anyone
  80. echo your serial number, since a user must register to receive one of his own.
  81. echo .
  82. echo      Thanks.
  83. echo .
  84. echo .
  85. goto END
  86. :NODRIVE
  87. cls
  88. echo .
  89. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  90. echo .
  91. echo example:  B:INSTSO B: C:   will install SIGNOUT from drive B to drive C:
  92. echo .
  93. echo            PLEASE TRY AGAIN
  94. :END
  95.